<template>
  <div>
    <el-row :gutter="10" style="margin-top:5px;" v-if="false">
      <el-col :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span style="line-height: 20px;">待办任务</span>
            <i class="pull-right" @click="daibanBox=daibanBox=='el-icon-arrow-up'?'el-icon-arrow-down':'el-icon-arrow-up'" :class="daibanBox"></i>
          </div>
          <div v-if="daibanBox=='el-icon-arrow-up'">
            <el-table
              :data="waitTodoList"
              style="width: 100%">
              <el-table-column
                prop="name"
                label="待办事项"
                width="180">
              </el-table-column>
              <el-table-column
                prop="date"
                label="日期"
                width="180">
              </el-table-column>
              <el-table-column
                prop="address"
                label="操作">
              </el-table-column>
            </el-table>
          </div>
        </el-card>
      </el-col>
      <el-col :span="12">
        <el-card class="box-card">
          <div slot="header" class="clearfix">
            <span style="line-height: 20px;">统计</span>
            <i class="pull-right" @click="tongjiBox=tongjiBox=='el-icon-arrow-up'?'el-icon-arrow-down':'el-icon-arrow-up'" :class="tongjiBox"></i>
          </div>
          <div v-if="tongjiBox=='el-icon-arrow-up'">

          </div>
        </el-card>
      </el-col>
    </el-row>
  </div>
</template>
<script>
  import Constants from '../commons/constants'
  export default {
    data () {
      return {
        daibanBox:'el-icon-arrow-up',
        tongjiBox:'el-icon-arrow-up',
        user: this.$store.getters.getCurrentLoginInfo.user,
        waitTodoList:[{}]
      }
    },
    computed: {},
    created(){
      var user = this.$store.getters.getCurrentLoginInfo.user;
    },
    components: {},
    methods:{}
  }
</script>
<style>
  .el-card__body {
    padding: 5px;
  }
  .el-card__header {
    padding: 5px;
    font-size: 1.2rem;
    font-weight: bold;
  }
</style>
